<h1>Ftp List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Userid</th>
      <th>Passwd</th>
      <th>Uid</th>
      <th>Gid</th>
      <th>Homedir</th>
      <th>Shell</th>
      <th>Count</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($ftpuser_list as $ftpuser): ?>
    <tr>
      <td><a href="<?php echo url_for('ftp/show?id='.$ftpuser->getId()) ?>"><?php echo $ftpuser->getId() ?></a></td>
      <td><?php echo $ftpuser->getUserid() ?></td>
      <td><?php echo $ftpuser->getPasswd() ?></td>
      <td><?php echo $ftpuser->getUid() ?></td>
      <td><?php echo $ftpuser->getGid() ?></td>
      <td><?php echo $ftpuser->getHomedir() ?></td>
      <td><?php echo $ftpuser->getShell() ?></td>
      <td><?php echo $ftpuser->getCount() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('ftp/new') ?>">New</a>
